package top.suven.base.core.mq.rocketmq;

/**
 * @ClassName:
 * @Description:
 * @Author lixiangling
 * @Date 2018/5/24 10:30
 * @Copyright: (c) 2018 gc by https://www.gc.com.cn/
 * @Version : 1.0.0
 * --------------------------------------------------------
 * modifyer    modifyTime                 comment
 *
 * --------------------------------------------------------
 */
public class RocketMQMessage<T> {
    //全局ID
    private long globalId;
    //重试次数
    private int retryCount;

    private T body;

    public long getGlobalId() {
        return globalId;
    }

    public void setGlobalId(long globalId) {
        this.globalId = globalId;
    }

    public int getRetryCount() {
        return retryCount;
    }

    public void setRetryCount(int retryCount) {
        this.retryCount = retryCount;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
